Interface SmtpClient

All Superinterfaces:
IPCObject, Process
All Known Implementing Classes:
SmtpClientImpl

public interface SmtpClient extends Process
Information provided by the PKI file:

    \class SmtpClient
    
    \brief SmtpClient handles and manipulates the SMTP client.
    
    \example network().getDevice("PC0").getProcess("SmtpClient")
    
Author:
Auto-generated
  • Method Details

    • sendMail

      boolean sendMail(String fromEmailId, String toEmailId, String subject, String contents, String password, String ipAddr)
      Information provided by the PKI file:
      
          \brief This event is emitted when an email is sent.
          
          \param fromEmailId, the sender's email.
          \param toEmailId, the recipient's email.
          \param subject, tthe email subject.
          \param contents, the email contents.
          \param password, the smtp user password.
          \param ipAddr, the outgoing email server address
          
              
      Parameters:
      fromEmailId - Takes in a parameter of fromEmailId
      toEmailId - Takes in a parameter of toEmailId
      subject - Takes in a parameter of subject
      contents - Takes in a parameter of contents
      password - Takes in a parameter of password
      ipAddr - Takes in a parameter of ipAddr
      Returns:
      boolean Returns a boolean
    • cancelSend

      void cancelSend()
      Information provided by the PKI file:
      
          \brief Intervene with mail sending